/* @(#)GSOrderDeptInfoAddForm.java    V0.1
 *
 * Project: GSdevelop
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-2-16
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.form;

import java.util.HashMap;

import com.hitrust.gs.service.GSBaseForm;

/**
 * 
 */
public class GSOrderDeptInfoAddForm extends GSBaseForm{
    /**
     * 订货单位编号
     */
    private String gs_org_id;
    /**
     * 送货地址编号
     */
    private String[] gs_deliver_goods_addr_id;
    /**
     * 送货地址
     */
    private String[] gs_deliver_goods_addr;
    /**
     * 订货联系人姓名
     */
    private String[] gs_order_contact_name;
    /**
     * 订货联系电话
     */
    private String[] gs_order_contact_phone;
    /**
     * @return 返回 gs_deliver_goods_addr.
     */
    public String[] getGs_deliver_goods_addr() {
        return this.gs_deliver_goods_addr;
    }
    /**
     * @param aGs_deliver_goods_addr The gs_deliver_goods_addr to set.
     */
    public void setGs_deliver_goods_addr(String[] aGs_deliver_goods_addr) {
        this.gs_deliver_goods_addr = aGs_deliver_goods_addr;
    }
    /**
     * @return 返回 gs_deliver_goods_addr_id.
     */
    public String[] getGs_deliver_goods_addr_id() {
        return this.gs_deliver_goods_addr_id;
    }
    /**
     * @param aGs_deliver_goods_addr_id The gs_deliver_goods_addr_id to set.
     */
    public void setGs_deliver_goods_addr_id(String[] aGs_deliver_goods_addr_id) {
        this.gs_deliver_goods_addr_id = aGs_deliver_goods_addr_id;
    }
    /**
     * @return 返回 gs_order_contact_name.
     */
    public String[] getGs_order_contact_name() {
        return this.gs_order_contact_name;
    }
    /**
     * @param aGs_order_contact_name The gs_order_contact_name to set.
     */
    public void setGs_order_contact_name(String[] aGs_order_contact_name) {
        this.gs_order_contact_name = aGs_order_contact_name;
    }
    /**
     * @return 返回 gs_order_contact_phone.
     */
    public String[] getGs_order_contact_phone() {
        return this.gs_order_contact_phone;
    }
    /**
     * @param aGs_order_contact_phone The gs_order_contact_phone to set.
     */
    public void setGs_order_contact_phone(String[] aGs_order_contact_phone) {
        this.gs_order_contact_phone = aGs_order_contact_phone;
    }
    /**
     * @return 返回 gs_org_id.
     */
    public String getGs_org_id() {
        return this.gs_org_id;
    }
    /**
     * @param aGs_org_id The gs_org_id to set.
     */
    public void setGs_org_id(String aGs_org_id) {
        this.gs_org_id = aGs_org_id;
    }
    
    public boolean validate(HashMap aMap) {
        boolean  tResult = true;
//        //验证bank_id
//        if(gs_deliver_goods_addr == null||gs_deliver_goods_addr.length <=0) {
//            aMap.put("bank_id","机构代码不能为空!");
//            tResult = false;
//        }else if( gs_deliver_goods_addr.length() > 11 ){
//            aMap.put("bank_id","机构代码长度不能超过11位!");
//            tResult = false;
//        }
        
        return tResult;
    }
}
